Optimal. Leaf size=43 \[ -\sqrt {1-x} \sqrt {1+x}+2 \sin ^{-1}(x)-\tanh ^{-1}\left (\sqrt {1-x} \sqrt {1+x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {104, 163, 41,
222, 94, 212} \begin {gather*} 2 \text {ArcSin}(x)-\sqrt {1-x} \sqrt {x+1}-\tanh ^{-1}\left (\sqrt {1-x} \sqrt {x+1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 41
Rule 94
Rule 104
Rule 163
Rule 212
Rule 222
Rubi steps
\begin {align*} \int \frac {(1+x)^{3/2}}{\sqrt {1-x} x} \, dx &=-\sqrt {1-x} \sqrt {1+x}-\int \frac {-1-2 x}{\sqrt {1-x} x \sqrt {1+x}} \, dx\\ &=-\sqrt {1-x} \sqrt {1+x}+2 \int \frac {1}{\sqrt {1-x} \sqrt {1+x}} \, dx+\int \frac {1}{\sqrt {1-x} x \sqrt {1+x}} \, dx\\ &=-\sqrt {1-x} \sqrt {1+x}+2 \int \frac {1}{\sqrt {1-x^2}} \, dx-\text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-x} \sqrt {1+x}\right )\\ &=-\sqrt {1-x} \sqrt {1+x}+2 \sin ^{-1}(x)-\tanh ^{-1}\left (\sqrt {1-x} \sqrt {1+x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 54, normalized size = 1.26 \begin {gather*} -\sqrt {1-x^2}-4 \tan ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {1+x}}\right )-2 \tanh ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {1+x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 51, normalized size = 1.19
method | result | size |
default | \(\frac {\sqrt {1+x}\, \sqrt {1-x}\, \left (-\sqrt {-x^{2}+1}+2 \arcsin \left (x \right )-\arctanh \left (\frac {1}{\sqrt {-x^{2}+1}}\right )\right )}{\sqrt {-x^{2}+1}}\) | \(51\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.57, size = 41, normalized size = 0.95 \begin {gather*} -\sqrt {-x^{2} + 1} + 2 \, \arcsin \left (x\right ) - \log \left (\frac {2 \, \sqrt {-x^{2} + 1}}{{\left | x \right |}} + \frac {2}{{\left | x \right |}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.71, size = 57, normalized size = 1.33 \begin {gather*} -\sqrt {x + 1} \sqrt {-x + 1} - 4 \, \arctan \left (\frac {\sqrt {x + 1} \sqrt {-x + 1} - 1}{x}\right ) + \log \left (\frac {\sqrt {x + 1} \sqrt {-x + 1} - 1}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x + 1\right )^{\frac {3}{2}}}{x \sqrt {1 - x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (x+1\right )}^{3/2}}{x\,\sqrt {1-x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________